package com.demo4;

public class Dog extends Pet{
            @Override
            public void toHospital() {
                this.setHealth(60);
            }
        };


